package me.zhengjie.minbearwcs.dao.outbound.inf;

import me.zhengjie.minbearwcs.entity.PO.wcs.outbound.stockUp.OutboundStockUpRecord;

import java.util.List;

public interface OutboundStockUpRecordDao {
    boolean insert(OutboundStockUpRecord outboundStockUpRecord);

    OutboundStockUpRecord selectByStockUpId(String stockUpId);

    boolean deleteById(Integer id);

    boolean updateDestinationSmallStorageByStockUpId(String stockUpId, String destinationSmallStorage);

    OutboundStockUpRecord selectByPalletAndDestinationStorage(String pallet, String destinationSmallStorage);

    String selectStartSmallStorageByOutboundOrderAndPallet(String outboundOrder,String pallet);

    String selectOutboundOrderDetailIdByOutboundOrderAndPallet(String outboundOrder,String pallet);

    List<OutboundStockUpRecord> selectByOutboundOrderCode(String outboundOrderCode);
}
